[INFO] fetching crate rlpx 0.4.1...
[INFO] checking rlpx-0.4.1 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate rlpx 0.4.1 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate rlpx 0.4.1 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rlpx 0.4.1
[INFO] finished tweaking crates.io crate rlpx 0.4.1
[INFO] tweaked toml for crates.io crate rlpx 0.4.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded generic-array v0.8.4
[INFO] [stderr]   Downloaded sha2 v0.6.0
[INFO] [stderr]   Downloaded byte-tools v0.2.0
[INFO] [stderr]   Downloaded block-buffer v0.2.0
[INFO] [stderr]   Downloaded digest v0.6.1
[INFO] [stderr]   Downloaded ethereum-rlp v0.2.3
[INFO] [stderr]   Downloaded ethereum-bigint v0.2.9
[INFO] [stderr]   Downloaded sha3 v0.6.0
[INFO] [stderr]   Downloaded ethereum-hexutil v0.2.3
[INFO] [stderr]   Downloaded elastic-array-plus v0.9.1
[INFO] [stderr]   Downloaded libsecp256k1 v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 141ad8af824dafac522f7a797df3ca5f0b51e3ecdf3dae4c10f2c44ea7f2b6d9
[INFO] running `Command { std: "docker" "start" "-a" "141ad8af824dafac522f7a797df3ca5f0b51e3ecdf3dae4c10f2c44ea7f2b6d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "141ad8af824dafac522f7a797df3ca5f0b51e3ecdf3dae4c10f2c44ea7f2b6d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "141ad8af824dafac522f7a797df3ca5f0b51e3ecdf3dae4c10f2c44ea7f2b6d9", kill_on_drop: false }`
[INFO] [stdout] 141ad8af824dafac522f7a797df3ca5f0b51e3ecdf3dae4c10f2c44ea7f2b6d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2563ddaea478c4c7bcca46d436e041f88a19d9cb8ff678f4f57d51fa01621d1
[INFO] running `Command { std: "docker" "start" "-a" "b2563ddaea478c4c7bcca46d436e041f88a19d9cb8ff678f4f57d51fa01621d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking byte-tools v0.2.0
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking generic-array v0.8.4
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking elastic-array-plus v0.9.1
[INFO] [stderr]     Checking ethereum-hexutil v0.2.3
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking digest v0.6.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking block-buffer v0.2.0
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking ethereum-rlp v0.2.3
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking sha2 v0.6.0
[INFO] [stderr]     Checking sha3 v0.6.0
[INFO] [stderr]     Checking libsecp256k1 v0.1.3
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking ethereum-bigint v0.2.9
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking env_logger v0.3.5
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking rlpx v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `secp256k1::SharedSecret`
[INFO] [stdout]  --> src/ecies/algorithm.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use secp256k1::{self, Message, Signature, RecoveryId, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ no `SharedSecret` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `secp256k1::SharedSecret`
[INFO] [stdout]  --> src/ecies/algorithm.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use secp256k1::{self, Message, Signature, RecoveryId, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ no `SharedSecret` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `secp256k1::SharedSecret`
[INFO] [stdout]    --> src/ecies/algorithm.rs:450:30
[INFO] [stdout]     |
[INFO] [stdout] 450 |     use secp256k1::{Message, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]     |                              ^^^^^^^^^^^^ no `SharedSecret` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider importing this unresolved item through its public re-export instead:
[INFO] [stdout]             ecies::algorithm::SharedSecret
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/util.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout]    |                                                        ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 42 - pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout] 42 + pub fn id2pk(id: H512) -> Result<PublicKey, Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1`
[INFO] [stdout]    --> src/ecies/algorithm.rs:187:37
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let (sig, rec) = secp256k1::sign(&msg, &self.ephemeral_secret_key)?;
[INFO] [stdout]     |                                     ^^^^ not found in `secp256k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/util.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout]    |                                                        ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 42 - pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout] 42 + pub fn id2pk(id: H512) -> Result<PublicKey, Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1`
[INFO] [stdout]    --> src/ecies/algorithm.rs:187:37
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let (sig, rec) = secp256k1::sign(&msg, &self.ephemeral_secret_key)?;
[INFO] [stdout]     |                                     ^^^^ not found in `secp256k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]  --> src/errors.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     SECP256K1(secp256k1::Error),
[INFO] [stdout]   |                          ^^^^^ not found in `secp256k1`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use io::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::error::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::fmt::Error;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 -     SECP256K1(secp256k1::Error),
[INFO] [stdout] 7 +     SECP256K1(Error),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]  --> src/errors.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     SECP256K1(secp256k1::Error),
[INFO] [stdout]   |                          ^^^^^ not found in `secp256k1`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use io::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::error::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::fmt::Error;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 -     SECP256K1(secp256k1::Error),
[INFO] [stdout] 7 +     SECP256K1(Error),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout]    |                      ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 33 - impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout] 33 + impl From<Error> for ECIESError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout]    |                      ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 33 - impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout] 33 + impl From<Error> for ECIESError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout]    |                               ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 34 -     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout] 34 +     fn from(error: Error) -> ECIESError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout]    |                               ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 34 -     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout] 34 +     fn from(error: Error) -> ECIESError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/util.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/util.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::blockmodes::CtrMode`
[INFO] [stdout]  --> src/util.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crypto::blockmodes::CtrMode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::blockmodes::CtrMode`
[INFO] [stdout]  --> src/util.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crypto::blockmodes::CtrMode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::aessafe::AesSafe128Encryptor`
[INFO] [stdout]  --> src/util.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crypto::aessafe::AesSafe128Encryptor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::aessafe::AesSafe128Encryptor`
[INFO] [stdout]  --> src/util.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crypto::aessafe::AesSafe128Encryptor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RefReadBuffer`, `RefWriteBuffer`
[INFO] [stdout]  --> src/util.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crypto::buffer::{RefReadBuffer, RefWriteBuffer};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RefReadBuffer`, `RefWriteBuffer`
[INFO] [stdout]  --> src/util.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crypto::buffer::{RefReadBuffer, RefWriteBuffer};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rlp`
[INFO] [stdout]   --> src/ecies/algorithm.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rlp;
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rlp`
[INFO] [stdout]   --> src/ecies/algorithm.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rlp;
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWrite`
[INFO] [stdout]  --> src/ecies/proto.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `id2pk`, `keccak256`
[INFO] [stdout]    --> src/ecies/algorithm.rs:449:16
[INFO] [stdout]     |
[INFO] [stdout] 449 |     use util::{keccak256, pk2id, id2pk};
[INFO] [stdout]     |                ^^^^^^^^^         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Core`
[INFO] [stdout]  --> src/ecies/proto.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio_core::reactor::{Handle, Core};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]    --> src/ecies/algorithm.rs:450:21
[INFO] [stdout]     |
[INFO] [stdout] 450 |     use secp256k1::{Message, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/ecies/proto.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bytes::{BytesMut, BufMut};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `H256`, `H512`
[INFO] [stdout]    --> src/ecies/algorithm.rs:451:18
[INFO] [stdout]     |
[INFO] [stdout] 451 |     use bigint::{H512, H256};
[INFO] [stdout]     |                  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWrite`
[INFO] [stdout]  --> src/ecies/proto.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]  --> src/peer.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/peer.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Core`
[INFO] [stdout]  --> src/ecies/proto.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio_core::reactor::{Handle, Core};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/ecies/proto.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bytes::{BytesMut, BufMut};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::pk2id`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use util::pk2id;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | use secp256k1::{PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]  --> src/peer.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future`
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use futures::future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]   --> src/lib.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/peer.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::pk2id`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use util::pk2id;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | use secp256k1::{PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future`
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use futures::future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]   --> src/lib.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/ecies/proto.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]    --> src/ecies/proto.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |     stream: Framed<TcpStream, ECIESCodec>,
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<dyn Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<dyn Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<dyn Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<dyn Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/ecies/proto.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]    --> src/ecies/proto.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |     stream: Framed<TcpStream, ECIESCodec>,
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<dyn Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<dyn Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<dyn Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<dyn Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for enum `Option` in the current scope
[INFO] [stdout]   --> src/util.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.len() == 65);
[INFO] [stdout]    |                     ^^^ method not found in `Option<[u8; 65]>`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `len` exists on the type `[u8; 65]`
[INFO] [stdout]   --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/slice/mod.rs:138:5
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `[u8; 65]` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.expect("REASON").len() == 65);
[INFO] [stdout]    |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>`
[INFO] [stdout]   --> src/util.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     H512::from(&v[1..])
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:76:47
[INFO] [stdout]     |
[INFO] [stdout] 76  |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:99:47
[INFO] [stdout]     |
[INFO] [stdout] 99  |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:124:37
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                     ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ecies/algorithm.rs:142:36
[INFO] [stdout]     |
[INFO] [stdout] 142 |         ret[0..65].copy_from_slice(&public_key.serialize());
[INFO] [stdout]     |                    --------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&Option<[u8; 65]>`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&Option<[u8; 65]>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/slice/mod.rs:3602:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:154:52
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn decrypt_message(&self, encrypted: &[u8]) -> Result<Vec<u8>, ECIESError> {
[INFO] [stdout]     |     -------------------------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 154 |         let public_key = PublicKey::parse(&pub_raw)?;
[INFO] [stdout]     |                                                    ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<u8>, ECIESError>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<u8>, ECIESError>`
[INFO] [stdout]     = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]               <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]               <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for enum `Option` in the current scope
[INFO] [stdout]   --> src/util.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.len() == 65);
[INFO] [stdout]    |                     ^^^ method not found in `Option<[u8; 65]>`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `len` exists on the type `[u8; 65]`
[INFO] [stdout]   --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/slice/mod.rs:138:5
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `[u8; 65]` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.expect("REASON").len() == 65);
[INFO] [stdout]    |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>`
[INFO] [stdout]   --> src/util.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     H512::from(&v[1..])
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:212:31
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let rec = RecoveryId::parse(data[64])?;
[INFO] [stdout]     |                               ^^^^^ function or associated item not found in `RecoveryId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/util.rs:60:33
[INFO] [stdout]     |
[INFO] [stdout] 60  |         let prikey = SecretKey::random(&mut OsRng::new().unwrap());
[INFO] [stdout]     |                                 ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:49
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ ----  ---- an argument of type `&RecoveryId` is missing
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    unexpected argument of type `&Message`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option<PublicKey> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&sig, /* &RecoveryId */, &rec)?);
[INFO] [stdout]     |                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:85
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn parse_auth_unencrypted(&mut self, data: [u8; AUTH_LEN]) -> Result<(), ECIESError> {
[INFO] [stdout]     |     ------------------------------------------------------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                                                     ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ECIESError>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), ECIESError>`
[INFO] [stdout]     = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]               <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]               <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:76:47
[INFO] [stdout]     |
[INFO] [stdout] 76  |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:99:47
[INFO] [stdout]     |
[INFO] [stdout] 99  |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:124:37
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                     ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ecies/algorithm.rs:142:36
[INFO] [stdout]     |
[INFO] [stdout] 142 |         ret[0..65].copy_from_slice(&public_key.serialize());
[INFO] [stdout]     |                    --------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&Option<[u8; 65]>`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&Option<[u8; 65]>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/slice/mod.rs:3602:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:154:52
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn decrypt_message(&self, encrypted: &[u8]) -> Result<Vec<u8>, ECIESError> {
[INFO] [stdout]     |     -------------------------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 154 |         let public_key = PublicKey::parse(&pub_raw)?;
[INFO] [stdout]     |                                                    ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<u8>, ECIESError>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<u8>, ECIESError>`
[INFO] [stdout]     = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]               <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]               <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<dyn Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:168:24
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 socket.framed(ecies).send(ECIESValue::Auth)
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:212:31
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let rec = RecoveryId::parse(data[64])?;
[INFO] [stdout]     |                               ^^^^^ function or associated item not found in `RecoveryId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:197:24
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<dyn Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:201:29
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let stream = stream.framed(ecies).into_future().map_err(|(e, _)| e)
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:49
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ ----  ---- an argument of type `&RecoveryId` is missing
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    unexpected argument of type `&Message`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option<PublicKey> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&sig, /* &RecoveryId */, &rec)?);
[INFO] [stdout]     |                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:85
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn parse_auth_unencrypted(&mut self, data: [u8; AUTH_LEN]) -> Result<(), ECIESError> {
[INFO] [stdout]     |     ------------------------------------------------------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                                                     ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ECIESError>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), ECIESError>`
[INFO] [stdout]     = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]               <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]               <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:457:44
[INFO] [stdout]     |
[INFO] [stdout] 457 |         let server_secret_key = SecretKey::random(&mut OsRng::new().unwrap());
[INFO] [stdout]     |                                            ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:459:44
[INFO] [stdout]     |
[INFO] [stdout] 459 |         let client_secret_key = SecretKey::random(&mut OsRng::new().unwrap());
[INFO] [stdout]     |                                            ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<dyn Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:168:24
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 socket.framed(ecies).send(ECIESValue::Auth)
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:197:24
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<dyn Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:201:29
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let stream = stream.framed(ecies).into_future().map_err(|(e, _)| e)
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ecies/proto.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |             Err(e) => return Box::new(future::err(
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ecies/proto.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |             Err(e) => return Box::new(future::err(
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]    --> src/ecies/proto.rs:281:33
[INFO] [stdout]     |
[INFO] [stdout] 281 |             AsyncSink::NotReady(header) => return Ok(AsyncSink::NotReady(item)),
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/peer.rs:213:29
[INFO] [stdout]     |
[INFO] [stdout] 213 |                         let mut shared_caps_original = shared_capabilities.clone();
[INFO] [stdout]     |                             ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ecies/proto.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |             Err(e) => return Box::new(future::err(
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ecies/proto.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |             Err(e) => return Box::new(future::err(
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]    --> src/ecies/proto.rs:281:33
[INFO] [stdout]     |
[INFO] [stdout] 281 |             AsyncSink::NotReady(header) => return Ok(AsyncSink::NotReady(item)),
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/errors.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn from(error: ECIESError) -> io::Error {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/lib.rs:192:48
[INFO] [stdout]     |
[INFO] [stdout] 192 |                     Async::Ready(Some((stream, addr))) => {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `newly_connected`
[INFO] [stdout]    --> src/lib.rs:282:25
[INFO] [stdout]     |
[INFO] [stdout] 282 |             let ref mut newly_connected = self.newly_connected;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newly_connected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/peer.rs:213:29
[INFO] [stdout]     |
[INFO] [stdout] 213 |                         let mut shared_caps_original = shared_capabilities.clone();
[INFO] [stdout]     |                             ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 39 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/errors.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn from(error: ECIESError) -> io::Error {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/lib.rs:192:48
[INFO] [stdout]     |
[INFO] [stdout] 192 |                     Async::Ready(Some((stream, addr))) => {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rlpx` (lib) due to 17 previous errors; 39 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `newly_connected`
[INFO] [stdout]    --> src/lib.rs:282:25
[INFO] [stdout]     |
[INFO] [stdout] 282 |             let ref mut newly_connected = self.newly_connected;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newly_connected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors; 42 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rlpx` (lib test) due to 21 previous errors; 42 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b2563ddaea478c4c7bcca46d436e041f88a19d9cb8ff678f4f57d51fa01621d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2563ddaea478c4c7bcca46d436e041f88a19d9cb8ff678f4f57d51fa01621d1", kill_on_drop: false }`
[INFO] [stdout] b2563ddaea478c4c7bcca46d436e041f88a19d9cb8ff678f4f57d51fa01621d1
[INFO] checking rlpx-0.4.1 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate rlpx 0.4.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate rlpx 0.4.1 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rlpx 0.4.1
[INFO] finished tweaking crates.io crate rlpx 0.4.1
[INFO] tweaked toml for crates.io crate rlpx 0.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 973917ed0422d2c9aab9ae4aa0b56ded45b8abea2d396262969e80e849aab998
[INFO] running `Command { std: "docker" "start" "-a" "973917ed0422d2c9aab9ae4aa0b56ded45b8abea2d396262969e80e849aab998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "973917ed0422d2c9aab9ae4aa0b56ded45b8abea2d396262969e80e849aab998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "973917ed0422d2c9aab9ae4aa0b56ded45b8abea2d396262969e80e849aab998", kill_on_drop: false }`
[INFO] [stdout] 973917ed0422d2c9aab9ae4aa0b56ded45b8abea2d396262969e80e849aab998
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7469913efdd544bceb86cb4b353858035c2669addea45d0a1401ce6f7345fcb7
[INFO] running `Command { std: "docker" "start" "-a" "7469913efdd544bceb86cb4b353858035c2669addea45d0a1401ce6f7345fcb7", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking byte-tools v0.2.0
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking generic-array v0.8.4
[INFO] [stderr]     Checking ethereum-hexutil v0.2.3
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking elastic-array-plus v0.9.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking digest v0.6.1
[INFO] [stderr]     Checking block-buffer v0.2.0
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking ethereum-rlp v0.2.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking sha3 v0.6.0
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking sha2 v0.6.0
[INFO] [stderr]     Checking libsecp256k1 v0.1.3
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking ethereum-bigint v0.2.9
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking env_logger v0.3.5
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking rlpx v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `secp256k1::SharedSecret`
[INFO] [stdout]  --> src/ecies/algorithm.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use secp256k1::{self, Message, Signature, RecoveryId, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ no `SharedSecret` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `secp256k1::SharedSecret`
[INFO] [stdout]  --> src/ecies/algorithm.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use secp256k1::{self, Message, Signature, RecoveryId, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ no `SharedSecret` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `secp256k1::SharedSecret`
[INFO] [stdout]    --> src/ecies/algorithm.rs:450:30
[INFO] [stdout]     |
[INFO] [stdout] 450 |     use secp256k1::{Message, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]     |                              ^^^^^^^^^^^^ no `SharedSecret` in the root
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider importing this unresolved item through its public re-export instead:
[INFO] [stdout]             ecies::algorithm::SharedSecret
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/util.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout]    |                                                        ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 42 - pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout] 42 + pub fn id2pk(id: H512) -> Result<PublicKey, Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1`
[INFO] [stdout]    --> src/ecies/algorithm.rs:187:37
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let (sig, rec) = secp256k1::sign(&msg, &self.ephemeral_secret_key)?;
[INFO] [stdout]     |                                     ^^^^ not found in `secp256k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]  --> src/errors.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     SECP256K1(secp256k1::Error),
[INFO] [stdout]   |                          ^^^^^ not found in `secp256k1`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use io::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::error::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::fmt::Error;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 -     SECP256K1(secp256k1::Error),
[INFO] [stdout] 7 +     SECP256K1(Error),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout]    |                      ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 33 - impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout] 33 + impl From<Error> for ECIESError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout]    |                               ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 34 -     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout] 34 +     fn from(error: Error) -> ECIESError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/util.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::blockmodes::CtrMode`
[INFO] [stdout]  --> src/util.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crypto::blockmodes::CtrMode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::aessafe::AesSafe128Encryptor`
[INFO] [stdout]  --> src/util.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crypto::aessafe::AesSafe128Encryptor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RefReadBuffer`, `RefWriteBuffer`
[INFO] [stdout]  --> src/util.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crypto::buffer::{RefReadBuffer, RefWriteBuffer};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/util.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |     H512::from(&v[1..])
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/util.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |     for i in 0..64 {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rlp`
[INFO] [stdout]   --> src/ecies/algorithm.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rlp;
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/ecies/algorithm.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Ok(H256::from(&shared.as_ref()[0..32]))
[INFO] [stdout]    |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/ecies/algorithm.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |     for counter in 0..(reps+1) {
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/ecies/algorithm.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |     H256::from(&buffers[0..32])
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:127:36
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let ekey = H128::from(&key[0..16]);
[INFO] [stdout]     |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:128:32
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mkey = sha256(&key[16..32]);
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:132:22
[INFO] [stdout]     |
[INFO] [stdout] 132 |         iv_encrypted[0..16].copy_from_slice(iv.as_ref());
[INFO] [stdout]     |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:136:70
[INFO] [stdout]     |
[INFO] [stdout] 136 |                           &mut RefWriteBuffer::new(&mut iv_encrypted[16..]), true)?;
[INFO] [stdout]     |                                                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         ret[0..65].copy_from_slice(&public_key.serialize());
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         ret[65..(65 + 16 + data.len())].copy_from_slice(&iv_encrypted);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |         ret[(65 + 16 + data.len())..].copy_from_slice(tag.as_ref());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:151:18
[INFO] [stdout]     |
[INFO] [stdout] 151 |         for i in 0..65 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:155:34
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let data_iv = &encrypted[65..(encrypted.len() - 32)];
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:156:41
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let tag = H256::from(&encrypted[(encrypted.len() - 32)..]);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/util.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout]    |                                                        ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 42 - pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout] 42 + pub fn id2pk(id: H512) -> Result<PublicKey, Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:160:36
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let ekey = H128::from(&key[0..16]);
[INFO] [stdout]     |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:161:32
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let mkey = sha256(&key[16..32]);
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:168:27
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let iv = &data_iv[0..16];
[INFO] [stdout]     |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1`
[INFO] [stdout]    --> src/ecies/algorithm.rs:187:37
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let (sig, rec) = secp256k1::sign(&msg, &self.ephemeral_secret_key)?;
[INFO] [stdout]     |                                     ^^^^ not found in `secp256k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:169:39
[INFO] [stdout]     |
[INFO] [stdout] 169 |         let encrypted_data = &data_iv[16..];
[INFO] [stdout]     |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:183:18
[INFO] [stdout]     |
[INFO] [stdout] 183 |         for i in 0..32 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |         ret[0..64].copy_from_slice(&sig[0..64]);
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]  --> src/errors.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     SECP256K1(secp256k1::Error),
[INFO] [stdout]   |                          ^^^^^ not found in `secp256k1`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 + use io::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::error::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use std::fmt::Error;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 -     SECP256K1(secp256k1::Error),
[INFO] [stdout] 7 +     SECP256K1(Error),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:191:41
[INFO] [stdout]     |
[INFO] [stdout] 191 |         ret[0..64].copy_from_slice(&sig[0..64]);
[INFO] [stdout]     |                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         ret[65..97].copy_from_slice(&keccak256(pk2id(&self.ephemeral_public_key).as_ref())[0..32]);
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:193:92
[INFO] [stdout]     |
[INFO] [stdout] 193 |         ret[65..97].copy_from_slice(&keccak256(pk2id(&self.ephemeral_public_key).as_ref())[0..32]);
[INFO] [stdout]     |                                                                                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         ret[97..161].copy_from_slice(&pk2id(&self.public_key)[0..64]);
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:194:63
[INFO] [stdout]     |
[INFO] [stdout] 194 |         ret[97..161].copy_from_slice(&pk2id(&self.public_key)[0..64]);
[INFO] [stdout]     |                                                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout]    |                      ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 33 - impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout] 33 + impl From<Error> for ECIESError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         ret[161..193].copy_from_slice(&self.nonce[0..32]);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:195:51
[INFO] [stdout]     |
[INFO] [stdout] 195 |         ret[161..193].copy_from_slice(&self.nonce[0..32]);
[INFO] [stdout]     |                                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:208:18
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..64 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:213:37
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let heid = H256::from(&data[65..97]);
[INFO] [stdout]     |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout]    |                               ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 34 -     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout] 34 +     fn from(error: Error) -> ECIESError {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:214:48
[INFO] [stdout]     |
[INFO] [stdout] 214 |         self.remote_id = Some(H512::from(&data[97..161]));
[INFO] [stdout]     |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:215:62
[INFO] [stdout]     |
[INFO] [stdout] 215 |         self.remote_public_key = Some(id2pk(H512::from(&data[97..161]))?);
[INFO] [stdout]     |                                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:216:51
[INFO] [stdout]     |
[INFO] [stdout] 216 |         self.remote_nonce = Some(H256::from(&data[161..193]));
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:224:18
[INFO] [stdout]     |
[INFO] [stdout] 224 |         for i in 0..32 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:246:18
[INFO] [stdout]     |
[INFO] [stdout] 246 |         for i in 0..AUTH_LEN {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 254 |         ret[0..64].copy_from_slice(pk2id(&self.ephemeral_public_key).as_ref());
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 |         ret[64..96].copy_from_slice(self.nonce.as_ref());
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:269:72
[INFO] [stdout]     |
[INFO] [stdout] 269 |         self.remote_ephemeral_public_key = Some(id2pk(H512::from(&data[0..64]))?);
[INFO] [stdout]     |                                                                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:270:51
[INFO] [stdout]     |
[INFO] [stdout] 270 |         self.remote_nonce = Some(H256::from(&data[64..96]));
[INFO] [stdout]     |                                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |         for i in 0..ACK_LEN {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:343:16
[INFO] [stdout]     |
[INFO] [stdout] 343 |         header[0..3].copy_from_slice(buffer.as_ref());
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:344:16
[INFO] [stdout]     |
[INFO] [stdout] 344 |         header[3..6].copy_from_slice(&[194u8, 128u8, 128u8].as_ref());
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:354:18
[INFO] [stdout]     |
[INFO] [stdout] 354 |         for i in 0..16 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:357:18
[INFO] [stdout]     |
[INFO] [stdout] 357 |         for i in 0..16 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:364:28
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let header = &data[0..16];
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:365:36
[INFO] [stdout]     |
[INFO] [stdout] 365 |         let mac = H128::from(&data[16..32]);
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:410:18
[INFO] [stdout]     |
[INFO] [stdout] 410 |         for i in 0..data.len() {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:420:13
[INFO] [stdout]     |
[INFO] [stdout] 420 |         ret[0..len].copy_from_slice(encrypted.as_ref());
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:421:13
[INFO] [stdout]     |
[INFO] [stdout] 421 |         ret[len..].copy_from_slice(tag.as_ref());
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:426:26
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let body = &data[0..data.len()-16];
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/util.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:427:36
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let mac = H128::from(&data[data.len()-16..]);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWrite`
[INFO] [stdout]  --> src/ecies/proto.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::blockmodes::CtrMode`
[INFO] [stdout]  --> src/util.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crypto::blockmodes::CtrMode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Core`
[INFO] [stdout]  --> src/ecies/proto.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio_core::reactor::{Handle, Core};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::aessafe::AesSafe128Encryptor`
[INFO] [stdout]  --> src/util.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crypto::aessafe::AesSafe128Encryptor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/ecies/proto.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bytes::{BytesMut, BufMut};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RefReadBuffer`, `RefWriteBuffer`
[INFO] [stdout]  --> src/util.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crypto::buffer::{RefReadBuffer, RefWriteBuffer};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]  --> src/peer.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/peer.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/peer.rs:180:63
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 let message_id_rlp = UntrustedRlp::new(&hello[0..1]);
[INFO] [stdout]     |                                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/peer.rs:198:46
[INFO] [stdout]     |
[INFO] [stdout] 198 |                     UntrustedRlp::new(&hello[1..]).as_val();
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/peer.rs:282:61
[INFO] [stdout]     |
[INFO] [stdout] 282 |                 let message_id_rlp = UntrustedRlp::new(&val[0..1]);
[INFO] [stdout]     |                                                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/peer.rs:288:76
[INFO] [stdout]     |
[INFO] [stdout] 288 | ...                   self.handle_reserved_message(message_id, (&val[1..]).into())?;
[INFO] [stdout]     |                                                                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/peer.rs:312:54
[INFO] [stdout]     |
[INFO] [stdout] 312 |                 Ok(Async::Ready(Some((cap, id, (&val[1..]).into()))))
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/mac.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for i in 0..data.len() {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/mac.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 43 |         for i in 0..16 {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/mac.rs:50:50
[INFO] [stdout]    |
[INFO] [stdout] 50 |         H128::from(&self.hasher.clone().result()[0..16])
[INFO] [stdout]    |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::pk2id`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use util::pk2id;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | use secp256k1::{PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future`
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use futures::future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]   --> src/lib.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:244:18
[INFO] [stdout]     |
[INFO] [stdout] 244 |         for i in 0..len {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/util.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |     H512::from(&v[1..])
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/util.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |     for i in 0..64 {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rlp`
[INFO] [stdout]   --> src/ecies/algorithm.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rlp;
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/ecies/algorithm.rs:25:36
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Ok(H256::from(&shared.as_ref()[0..32]))
[INFO] [stdout]    |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/ecies/algorithm.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |     for counter in 0..(reps+1) {
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/ecies/algorithm.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |     H256::from(&buffers[0..32])
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:127:36
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let ekey = H128::from(&key[0..16]);
[INFO] [stdout]     |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:128:32
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mkey = sha256(&key[16..32]);
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:132:22
[INFO] [stdout]     |
[INFO] [stdout] 132 |         iv_encrypted[0..16].copy_from_slice(iv.as_ref());
[INFO] [stdout]     |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:136:70
[INFO] [stdout]     |
[INFO] [stdout] 136 |                           &mut RefWriteBuffer::new(&mut iv_encrypted[16..]), true)?;
[INFO] [stdout]     |                                                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         ret[0..65].copy_from_slice(&public_key.serialize());
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         ret[65..(65 + 16 + data.len())].copy_from_slice(&iv_encrypted);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |         ret[(65 + 16 + data.len())..].copy_from_slice(tag.as_ref());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:151:18
[INFO] [stdout]     |
[INFO] [stdout] 151 |         for i in 0..65 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:155:34
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let data_iv = &encrypted[65..(encrypted.len() - 32)];
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:156:41
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let tag = H256::from(&encrypted[(encrypted.len() - 32)..]);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:160:36
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let ekey = H128::from(&key[0..16]);
[INFO] [stdout]     |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:161:32
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let mkey = sha256(&key[16..32]);
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:168:27
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let iv = &data_iv[0..16];
[INFO] [stdout]     |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:169:39
[INFO] [stdout]     |
[INFO] [stdout] 169 |         let encrypted_data = &data_iv[16..];
[INFO] [stdout]     |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:183:18
[INFO] [stdout]     |
[INFO] [stdout] 183 |         for i in 0..32 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |         ret[0..64].copy_from_slice(&sig[0..64]);
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:191:41
[INFO] [stdout]     |
[INFO] [stdout] 191 |         ret[0..64].copy_from_slice(&sig[0..64]);
[INFO] [stdout]     |                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         ret[65..97].copy_from_slice(&keccak256(pk2id(&self.ephemeral_public_key).as_ref())[0..32]);
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:193:92
[INFO] [stdout]     |
[INFO] [stdout] 193 |         ret[65..97].copy_from_slice(&keccak256(pk2id(&self.ephemeral_public_key).as_ref())[0..32]);
[INFO] [stdout]     |                                                                                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         ret[97..161].copy_from_slice(&pk2id(&self.public_key)[0..64]);
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:194:63
[INFO] [stdout]     |
[INFO] [stdout] 194 |         ret[97..161].copy_from_slice(&pk2id(&self.public_key)[0..64]);
[INFO] [stdout]     |                                                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         ret[161..193].copy_from_slice(&self.nonce[0..32]);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:195:51
[INFO] [stdout]     |
[INFO] [stdout] 195 |         ret[161..193].copy_from_slice(&self.nonce[0..32]);
[INFO] [stdout]     |                                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:208:18
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..64 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:213:37
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let heid = H256::from(&data[65..97]);
[INFO] [stdout]     |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:214:48
[INFO] [stdout]     |
[INFO] [stdout] 214 |         self.remote_id = Some(H512::from(&data[97..161]));
[INFO] [stdout]     |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:215:62
[INFO] [stdout]     |
[INFO] [stdout] 215 |         self.remote_public_key = Some(id2pk(H512::from(&data[97..161]))?);
[INFO] [stdout]     |                                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:216:51
[INFO] [stdout]     |
[INFO] [stdout] 216 |         self.remote_nonce = Some(H256::from(&data[161..193]));
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:224:18
[INFO] [stdout]     |
[INFO] [stdout] 224 |         for i in 0..32 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:246:18
[INFO] [stdout]     |
[INFO] [stdout] 246 |         for i in 0..AUTH_LEN {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 254 |         ret[0..64].copy_from_slice(pk2id(&self.ephemeral_public_key).as_ref());
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 |         ret[64..96].copy_from_slice(self.nonce.as_ref());
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:269:72
[INFO] [stdout]     |
[INFO] [stdout] 269 |         self.remote_ephemeral_public_key = Some(id2pk(H512::from(&data[0..64]))?);
[INFO] [stdout]     |                                                                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:270:51
[INFO] [stdout]     |
[INFO] [stdout] 270 |         self.remote_nonce = Some(H256::from(&data[64..96]));
[INFO] [stdout]     |                                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:287:18
[INFO] [stdout]     |
[INFO] [stdout] 287 |         for i in 0..ACK_LEN {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:343:16
[INFO] [stdout]     |
[INFO] [stdout] 343 |         header[0..3].copy_from_slice(buffer.as_ref());
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:344:16
[INFO] [stdout]     |
[INFO] [stdout] 344 |         header[3..6].copy_from_slice(&[194u8, 128u8, 128u8].as_ref());
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:354:18
[INFO] [stdout]     |
[INFO] [stdout] 354 |         for i in 0..16 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:357:18
[INFO] [stdout]     |
[INFO] [stdout] 357 |         for i in 0..16 {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:364:28
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let header = &data[0..16];
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:365:36
[INFO] [stdout]     |
[INFO] [stdout] 365 |         let mac = H128::from(&data[16..32]);
[INFO] [stdout]     |                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:410:18
[INFO] [stdout]     |
[INFO] [stdout] 410 |         for i in 0..data.len() {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:420:13
[INFO] [stdout]     |
[INFO] [stdout] 420 |         ret[0..len].copy_from_slice(encrypted.as_ref());
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:421:13
[INFO] [stdout]     |
[INFO] [stdout] 421 |         ret[len..].copy_from_slice(tag.as_ref());
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:426:26
[INFO] [stdout]     |
[INFO] [stdout] 426 |         let body = &data[0..data.len()-16];
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ecies/algorithm.rs:427:36
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let mac = H128::from(&data[data.len()-16..]);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `id2pk`, `keccak256`
[INFO] [stdout]    --> src/ecies/algorithm.rs:449:16
[INFO] [stdout]     |
[INFO] [stdout] 449 |     use util::{keccak256, pk2id, id2pk};
[INFO] [stdout]     |                ^^^^^^^^^         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]    --> src/ecies/algorithm.rs:450:21
[INFO] [stdout]     |
[INFO] [stdout] 450 |     use secp256k1::{Message, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `H256`, `H512`
[INFO] [stdout]    --> src/ecies/algorithm.rs:451:18
[INFO] [stdout]     |
[INFO] [stdout] 451 |     use bigint::{H512, H256};
[INFO] [stdout]     |                  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWrite`
[INFO] [stdout]  --> src/ecies/proto.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Core`
[INFO] [stdout]  --> src/ecies/proto.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio_core::reactor::{Handle, Core};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/ecies/proto.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bytes::{BytesMut, BufMut};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]  --> src/peer.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/peer.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/peer.rs:180:63
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 let message_id_rlp = UntrustedRlp::new(&hello[0..1]);
[INFO] [stdout]     |                                                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/peer.rs:198:46
[INFO] [stdout]     |
[INFO] [stdout] 198 |                     UntrustedRlp::new(&hello[1..]).as_val();
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/peer.rs:282:61
[INFO] [stdout]     |
[INFO] [stdout] 282 |                 let message_id_rlp = UntrustedRlp::new(&val[0..1]);
[INFO] [stdout]     |                                                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/peer.rs:288:76
[INFO] [stdout]     |
[INFO] [stdout] 288 | ...                   self.handle_reserved_message(message_id, (&val[1..]).into())?;
[INFO] [stdout]     |                                                                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/peer.rs:312:54
[INFO] [stdout]     |
[INFO] [stdout] 312 |                 Ok(Async::Ready(Some((cap, id, (&val[1..]).into()))))
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/mac.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for i in 0..data.len() {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/mac.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 43 |         for i in 0..16 {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/mac.rs:50:50
[INFO] [stdout]    |
[INFO] [stdout] 50 |         H128::from(&self.hasher.clone().result()[0..16])
[INFO] [stdout]    |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::pk2id`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use util::pk2id;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | use secp256k1::{PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future`
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use futures::future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]   --> src/lib.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:244:18
[INFO] [stdout]     |
[INFO] [stdout] 244 |         for i in 0..len {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/ecies/proto.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]    --> src/ecies/proto.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |     stream: Framed<TcpStream, ECIESCodec>,
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<dyn Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<dyn Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/ecies/proto.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]    --> src/ecies/proto.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |     stream: Framed<TcpStream, ECIESCodec>,
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<dyn Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<dyn Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<dyn Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<dyn Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<dyn Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<dyn Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<dyn Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for enum `Option` in the current scope
[INFO] [stdout]   --> src/util.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.len() == 65);
[INFO] [stdout]    |                     ^^^ method not found in `Option<[u8; 65]>`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `len` exists on the type `[u8; 65]`
[INFO] [stdout]   --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/slice/mod.rs:138:5
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `[u8; 65]` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.expect("REASON").len() == 65);
[INFO] [stdout]    |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>`
[INFO] [stdout]   --> src/util.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     H512::from(&v[1..])
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:76:47
[INFO] [stdout]     |
[INFO] [stdout] 76  |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:99:47
[INFO] [stdout]     |
[INFO] [stdout] 99  |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:124:37
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                     ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for enum `Option` in the current scope
[INFO] [stdout]   --> src/util.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.len() == 65);
[INFO] [stdout]    |                     ^^^ method not found in `Option<[u8; 65]>`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `len` exists on the type `[u8; 65]`
[INFO] [stdout]   --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/slice/mod.rs:138:5
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `[u8; 65]` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.expect("REASON").len() == 65);
[INFO] [stdout]    |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>`
[INFO] [stdout]   --> src/util.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     H512::from(&v[1..])
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ecies/algorithm.rs:142:36
[INFO] [stdout]     |
[INFO] [stdout] 142 |         ret[0..65].copy_from_slice(&public_key.serialize());
[INFO] [stdout]     |                    --------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&Option<[u8; 65]>`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&Option<[u8; 65]>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/slice/mod.rs:3602:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:154:52
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn decrypt_message(&self, encrypted: &[u8]) -> Result<Vec<u8>, ECIESError> {
[INFO] [stdout]     |     -------------------------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 154 |         let public_key = PublicKey::parse(&pub_raw)?;
[INFO] [stdout]     |                                                    ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<u8>, ECIESError>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<u8>, ECIESError>`
[INFO] [stdout]     = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]               <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]               <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/util.rs:60:33
[INFO] [stdout]     |
[INFO] [stdout] 60  |         let prikey = SecretKey::random(&mut OsRng::new().unwrap());
[INFO] [stdout]     |                                 ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:76:47
[INFO] [stdout]     |
[INFO] [stdout] 76  |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:99:47
[INFO] [stdout]     |
[INFO] [stdout] 99  |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:212:31
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let rec = RecoveryId::parse(data[64])?;
[INFO] [stdout]     |                               ^^^^^ function or associated item not found in `RecoveryId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:124:37
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                     ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:49
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ ----  ---- an argument of type `&RecoveryId` is missing
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    unexpected argument of type `&Message`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option<PublicKey> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&sig, /* &RecoveryId */, &rec)?);
[INFO] [stdout]     |                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:85
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn parse_auth_unencrypted(&mut self, data: [u8; AUTH_LEN]) -> Result<(), ECIESError> {
[INFO] [stdout]     |     ------------------------------------------------------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                                                     ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ECIESError>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), ECIESError>`
[INFO] [stdout]     = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]               <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]               <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ecies/algorithm.rs:142:36
[INFO] [stdout]     |
[INFO] [stdout] 142 |         ret[0..65].copy_from_slice(&public_key.serialize());
[INFO] [stdout]     |                    --------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&Option<[u8; 65]>`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&Option<[u8; 65]>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/slice/mod.rs:3602:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:154:52
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn decrypt_message(&self, encrypted: &[u8]) -> Result<Vec<u8>, ECIESError> {
[INFO] [stdout]     |     -------------------------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 154 |         let public_key = PublicKey::parse(&pub_raw)?;
[INFO] [stdout]     |                                                    ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<u8>, ECIESError>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<u8>, ECIESError>`
[INFO] [stdout]     = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]               <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]               <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<dyn Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:168:24
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 socket.framed(ecies).send(ECIESValue::Auth)
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:212:31
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let rec = RecoveryId::parse(data[64])?;
[INFO] [stdout]     |                               ^^^^^ function or associated item not found in `RecoveryId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:49
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ ----  ---- an argument of type `&RecoveryId` is missing
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    unexpected argument of type `&Message`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option<PublicKey> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&sig, /* &RecoveryId */, &rec)?);
[INFO] [stdout]     |                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:197:24
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<dyn Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:201:29
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let stream = stream.framed(ecies).into_future().map_err(|(e, _)| e)
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:85
[INFO] [stdout]     |
[INFO] [stdout] 206 |     fn parse_auth_unencrypted(&mut self, data: [u8; AUTH_LEN]) -> Result<(), ECIESError> {
[INFO] [stdout]     |     ------------------------------------------------------------------------------------ this function returns a `Result`
[INFO] [stdout] ...
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                                                     ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ECIESError>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), ECIESError>`
[INFO] [stdout]     = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]               <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]               <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:457:44
[INFO] [stdout]     |
[INFO] [stdout] 457 |         let server_secret_key = SecretKey::random(&mut OsRng::new().unwrap());
[INFO] [stdout]     |                                            ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:459:44
[INFO] [stdout]     |
[INFO] [stdout] 459 |         let client_secret_key = SecretKey::random(&mut OsRng::new().unwrap());
[INFO] [stdout]     |                                            ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn parse(p: &[u8; 32]) -> Option<SecretKey> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<dyn Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:168:24
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 socket.framed(ecies).send(ECIESValue::Auth)
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:197:24
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<dyn Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:201:29
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let stream = stream.framed(ecies).into_future().map_err(|(e, _)| e)
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ecies/proto.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |             Err(e) => return Box::new(future::err(
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ecies/proto.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |             Err(e) => return Box::new(future::err(
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]    --> src/ecies/proto.rs:281:33
[INFO] [stdout]     |
[INFO] [stdout] 281 |             AsyncSink::NotReady(header) => return Ok(AsyncSink::NotReady(item)),
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ecies/proto.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |             Err(e) => return Box::new(future::err(
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/peer.rs:213:29
[INFO] [stdout]     |
[INFO] [stdout] 213 |                         let mut shared_caps_original = shared_capabilities.clone();
[INFO] [stdout]     |                             ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/ecies/proto.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |             Err(e) => return Box::new(future::err(
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]    --> src/ecies/proto.rs:281:33
[INFO] [stdout]     |
[INFO] [stdout] 281 |             AsyncSink::NotReady(header) => return Ok(AsyncSink::NotReady(item)),
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/errors.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn from(error: ECIESError) -> io::Error {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/lib.rs:192:48
[INFO] [stdout]     |
[INFO] [stdout] 192 |                     Async::Ready(Some((stream, addr))) => {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/peer.rs:213:29
[INFO] [stdout]     |
[INFO] [stdout] 213 |                         let mut shared_caps_original = shared_capabilities.clone();
[INFO] [stdout]     |                             ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `newly_connected`
[INFO] [stdout]    --> src/lib.rs:282:25
[INFO] [stdout]     |
[INFO] [stdout] 282 |             let ref mut newly_connected = self.newly_connected;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newly_connected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/errors.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn from(error: ECIESError) -> io::Error {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/lib.rs:192:48
[INFO] [stdout]     |
[INFO] [stdout] 192 |                     Async::Ready(Some((stream, addr))) => {
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 99 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `newly_connected`
[INFO] [stdout]    --> src/lib.rs:282:25
[INFO] [stdout]     |
[INFO] [stdout] 282 |             let ref mut newly_connected = self.newly_connected;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newly_connected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rlpx` (lib) due to 17 previous errors; 99 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 20 previous errors; 102 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rlpx` (lib test) due to 21 previous errors; 102 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7469913efdd544bceb86cb4b353858035c2669addea45d0a1401ce6f7345fcb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7469913efdd544bceb86cb4b353858035c2669addea45d0a1401ce6f7345fcb7", kill_on_drop: false }`
[INFO] [stdout] 7469913efdd544bceb86cb4b353858035c2669addea45d0a1401ce6f7345fcb7
